///////////////////////////////////////////////////////////////
// File: "CLevelSelectState.cpp"
// Author: Ryan Burkevich (RB)
// Purpose: To contain all level select functionality.
///////////////////////////////////////////////////////////////

#include "CLevelSelectState.h"
#include "../Wrappers/CSGD_DirectInput.h"
#include "../Wrappers/CSGD_TextureManager.h"
#include "CGamePlayState.h"
#include "CBitmapFontEngine.h"
#include "CGame.h"
#include "CWiimote.h"
#include "CAnimationManager.h"
#include "CMainMenuState.h"
#include "CTransitionScreen.h"
#include "CProfileManager.h"
#include "CProfileSelectState.h"
#include "CEquipmentState.h"
#include "CTrophyState.h"
#include "COptionsState.h"
#include "CChallengeState.h"
#include "CSoundManager.h"

CLevelSelectState::CLevelSelectState()
{
	m_nLeftUDChoice = 1;
	m_nRightUDChoice = 0;
	m_nFontID = -1;
	m_nBlobCursorID = -1;
	m_nWhereIsCursor = 0;

	m_bExitingToMain = false;
	m_bExitingToGame = false;

	m_bStartup = true;
}

CLevelSelectState::~CLevelSelectState()
{

}

void CLevelSelectState::Enter()
{
	CTransitionScreen::GetInstance()->OpenDoor();
	m_nFontID = CBitmapFontEngine::GetInstance()->LoadFont("BS_TechDemoTitle.xml");
	m_cScreen.LoadScreen("Screens/BS_LevelSelectScreen.xml");
	m_nBlobCursorID = CSGD_TextureManager::GetInstance()->LoadTexture("Resource/PlayerImages/BS_Player.png");
	
	if(strcmp(CProfileManager::GetInstance()->GetCurrentProfile()->GetProfileName(), "CupCake") == 0)
	{
		for(int i = 0; i < 7; i++)
		{
			CProfileManager::GetInstance()->GetCurrentProfile()->AddPwrUpToList(i);
		}
	}

	CGamePlayState::GetInstance()->SetIsChallenge(false);

	m_nLeftUDChoice = CProfileManager::GetInstance()->GetCurrentProfile()->GetWhichLevelPlaying();
	m_nRightUDChoice = 0;

	if(m_bNewLevel)
	{
		m_nWhereIsCursor = LEFT;
		CProfileManager::GetInstance()->GetCurrentProfile()->SetCurrentPwrUp(7);
	}
	else
		m_nWhereIsCursor = RIGHT;

	m_bExitingToMain = false;
	m_bExitingToGame = false;
}

void CLevelSelectState::Exit()
{
	m_cScreen.ExitScreen();

	CSGD_TextureManager::GetInstance()->ReleaseTexture(m_nBlobCursorID);

	m_bNewLevel = false;
	m_bExitingToMain = false;
	m_bExitingToGame = false;
}

bool CLevelSelectState::Input(float fElapsedTime)
{
	CWiimote* pWii = CWiimote::GetInstance();
	CSGD_DirectInput* pDI = CSGD_DirectInput::GetInstance();
	CProfileManager* pPM = CProfileManager::GetInstance();

	if (pWii->IsButtonJustPressed(WII_HOME) || pDI->KeyPressed(DIK_ESCAPE))
	{
		CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_SELECT);
		if(m_nWhereIsCursor == LEFT)
			m_bExitingToMain = true;
		else if(m_nWhereIsCursor == RIGHT)
			m_nWhereIsCursor = LEFT;
		else if(m_nWhereIsCursor == DIFFICULT)
			m_nWhereIsCursor = RIGHT;
	}

	if (pWii->IsButtonJustPressed(WII_A) || pDI->KeyPressed(DIK_RETURN))
	{
		CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_SELECT);
		if(m_nWhereIsCursor == LEFT)
		{
			switch(m_nLeftUDChoice)
			{//Level 1
			case LEVEL_ONE:
				{
					pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_ONE);
					m_nWhereIsCursor = RIGHT;
					m_nRightUDChoice = 0;
					break;
				}//Level 2			
			case LEVEL_TWO:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_ONE)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_TWO);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 3			
			case LEVEL_THREE:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_TWO)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_THREE);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 4			
			case LEVEL_FOUR:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_THREE)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_FOUR);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 5			
			case LEVEL_FIVE:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FOUR)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_FIVE);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 6		
			case LEVEL_SIX:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FIVE)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_SIX);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 7			
			case LEVEL_SEVEN:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SIX)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_SEVEN);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 8			
			case LEVEL_EIGHT:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SEVEN)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_EIGHT);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 9
			case LEVEL_NINE:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_EIGHT)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_NINE);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}//Level 10			
			case LEVEL_TEN:
				{
					if(pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_NINE)
					{
						pPM->GetCurrentProfile()->SetWhichLevelPlaying(LEVEL_TEN);
						m_nWhereIsCursor = RIGHT;
						m_nRightUDChoice = 0;
					}
					break;
				}
			}
		}
		else if(m_nWhereIsCursor == RIGHT)
		{
			switch(m_nRightUDChoice)
			{
			case 0:
				CGamePlayState::GetInstance()->SetLevel(pPM->GetCurrentProfile()->GetWhichLevelPlaying());
				m_bExitingToGame = true;
				break;
			case 1:
				CGame::GetInstance()->ChangeState(CEquipmentState::GetInstance());
				break;
			case 2:
				CGame::GetInstance()->ChangeState(CTrophyState::GetInstance());
				break;
			case 3:
				m_nWhereIsCursor = DIFFICULT;
				m_nRightUDChoice = COptionsState::GetInstance()->GetDifficulty();
				break;
			case 4:
				CGame::GetInstance()->ChangeState(CChallengeState::GetInstance());
				break;
			}
		}
		else if(m_nWhereIsCursor == DIFFICULT)
		{
			switch(m_nRightUDChoice)
			{
			case 0:
				COptionsState::GetInstance()->SetDifficulty(0);
				m_nRightUDChoice = 0;
				m_nWhereIsCursor = RIGHT;
				break;
			case 1:
				COptionsState::GetInstance()->SetDifficulty(1);
				m_nRightUDChoice = 0;
				m_nWhereIsCursor = RIGHT;
				break;
			case 2:
				COptionsState::GetInstance()->SetDifficulty(2);
				m_nRightUDChoice = 0;
				m_nWhereIsCursor = RIGHT;
				break;
			}
		}
	}		

	if(m_nWhereIsCursor == LEFT)
	{	
		if (pWii->IsButtonJustPressed(WII_UP) || pDI->KeyPressed(DIK_UP))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nLeftUDChoice--;
		}
		else if (pWii->IsButtonJustPressed(WII_DOWN) || pDI->KeyPressed(DIK_DOWN))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nLeftUDChoice++;
		}
		if (m_nLeftUDChoice > 10)
			m_nLeftUDChoice = 1;
		else if (m_nLeftUDChoice < 1)
			m_nLeftUDChoice = 10;
	}
	else if(m_nWhereIsCursor == RIGHT)
	{
		if (pWii->IsButtonJustPressed(WII_UP) || pDI->KeyPressed(DIK_UP))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nRightUDChoice--;
		}
		else if (pWii->IsButtonJustPressed(WII_DOWN) || pDI->KeyPressed(DIK_DOWN))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nRightUDChoice++;
		}
		if (m_nRightUDChoice > 4)
			m_nRightUDChoice = 0;
		else if (m_nRightUDChoice < 0)
			m_nRightUDChoice = 4;
	}
	else if(m_nWhereIsCursor == DIFFICULT)
	{
		if (pWii->IsButtonJustPressed(WII_UP) || pDI->KeyPressed(DIK_UP))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nRightUDChoice--;
		}
		else if (pWii->IsButtonJustPressed(WII_DOWN) || pDI->KeyPressed(DIK_DOWN))
		{
			CSoundManager::GetInstance()->PlaySoundIndxUnBuffered(SOUND_MENU_MOVE);
			m_nRightUDChoice++;
		}

		if (m_nRightUDChoice > 2)
			m_nRightUDChoice = 0;
		else if (m_nRightUDChoice < 0)
			m_nRightUDChoice = 2;
	}

	///Close door then change state///////////////////////////////////////////
	if(m_bExitingToMain)
	{
		CTransitionScreen::GetInstance()->ChangeTo(CProfileSelectState::GetInstance());
	}
	if(m_bExitingToGame)
	{
		CTransitionScreen::GetInstance()->ChangeTo(CGamePlayState::GetInstance());
	}
	//////////////////////////////////////////////////////////////////////////

	return true;
}

void CLevelSelectState::Update(float fElapsedTime)
{

}

void CLevelSelectState::Render()
{
	m_cScreen.RenderScreen();

	CBitmapFontEngine* pBFE = CBitmapFontEngine::GetInstance();
	CProfileManager* pPM = CProfileManager::GetInstance();

	int TopX= m_cScreen.GetPosObjMembers("Top",XPOS);
	int TopY= m_cScreen.GetPosObjMembers("Top",YPOS);

	int LeftX = m_cScreen.GetPosObjMembers("Left",XPOS);
	int LeftY = m_cScreen.GetPosObjMembers("Left",YPOS);

	int RightX = m_cScreen.GetPosObjMembers("Right",XPOS);
	int RightY = m_cScreen.GetPosObjMembers("Right",YPOS);

	pBFE->RenderString("Level Select", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), TopX, TopY+25, 0);
	pBFE->RenderString("Level:", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LeftX+5, LeftY+5, 0);

	int LevelX = LeftX+25;
	int LevelY = LeftY+100;

	switch(m_nLeftUDChoice)
	{
	case LEVEL_ONE:
		{
			if(m_nWhereIsCursor == LEFT)
				pBFE->RenderString("One", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("One", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			break;
		}
	case LEVEL_TWO:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_ONE)
				pBFE->RenderString("Two", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_ONE)
				pBFE->RenderString("Two", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Two", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}
	case LEVEL_THREE:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_TWO)
				pBFE->RenderString("Three", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_TWO)
				pBFE->RenderString("Three", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Three", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}		
	case LEVEL_FOUR:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_THREE)
				pBFE->RenderString("Four", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_THREE)
				pBFE->RenderString("Four", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Four", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_FIVE:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FOUR)
				pBFE->RenderString("Five", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FOUR)
				pBFE->RenderString("Five", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Five", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_SIX:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FIVE)
				pBFE->RenderString("Six", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_FIVE)
				pBFE->RenderString("Six", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Six", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_SEVEN:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SIX)
				pBFE->RenderString("Seven", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SIX)
				pBFE->RenderString("Seven", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Seven", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_EIGHT:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SEVEN)
				pBFE->RenderString("Eight", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_SEVEN)
				pBFE->RenderString("Eight", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Eight", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_NINE:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_EIGHT)
				pBFE->RenderString("Nine", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_EIGHT)
				pBFE->RenderString("Nine", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Nine", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	case LEVEL_TEN:
		{
			if(m_nWhereIsCursor == LEFT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_NINE)
				pBFE->RenderString("Ten", m_nFontID, 0, D3DCOLOR_XRGB(255, 255, 0), LevelX, LevelY, 0);
			else if(m_nWhereIsCursor == RIGHT && pPM->GetCurrentProfile()->GetCurrentLevel() > LEVEL_NINE)
				pBFE->RenderString("Ten", m_nFontID, 0, D3DCOLOR_XRGB(0, 255, 0), LevelX, LevelY, 0);
			else
				pBFE->RenderString("Ten", m_nFontID, 0, D3DCOLOR_XRGB(75, 75, 75), LevelX, LevelY, 0);
			break;
		}	
	}

	if(m_nWhereIsCursor == RIGHT)
	{
		switch(m_nRightUDChoice)
		{
		case 0:
			pBFE->RenderString("Play", m_nFontID, 0, 0xffffff00, RightX+105, RightY+20, 0, .8f);
			pBFE->RenderString("Equip", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+60, 0, .8f);
			pBFE->RenderString("Trophies", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+100, 0, .8f);
			pBFE->RenderString("Difficulty", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+140, 0, .8f);
			pBFE->RenderString("Challenge", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+180, 0, .8f);
			break;
		case 1:
			pBFE->RenderString("Play", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+20, 0, .8f);
			pBFE->RenderString("Equip", m_nFontID, 0, 0xffffff00, RightX+105, RightY+60, 0, .8f);
			pBFE->RenderString("Trophies", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+100, 0, .8f);
			pBFE->RenderString("Difficulty", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+140, 0, .8f);
			pBFE->RenderString("Challenge", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+180, 0, .8f);
			break;
		case 2:
			pBFE->RenderString("Play", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+20, 0, .8f);
			pBFE->RenderString("Equip", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+60, 0, .8f);
			pBFE->RenderString("Trophies", m_nFontID, 0, 0xffffff00, RightX+105, RightY+100, 0, .8f);
			pBFE->RenderString("Difficulty", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+140, 0, .8f);
			pBFE->RenderString("Challenge", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+180, 0, .8f);
			break;
		case 3:
			pBFE->RenderString("Play", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+20, 0, .8f);
			pBFE->RenderString("Equip", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+60, 0, .8f);
			pBFE->RenderString("Trophies", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+100, 0, .8f);
			pBFE->RenderString("Difficulty", m_nFontID, 0, 0xffffff00, RightX+105, RightY+140, 0, .8f);
			pBFE->RenderString("Challenge", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+180, 0, .8f);
			break;
		case 4:
			pBFE->RenderString("Play", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+20, 0, .8f);
			pBFE->RenderString("Equip", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+60, 0, .8f);
			pBFE->RenderString("Trophies", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+100, 0, .8f);
			pBFE->RenderString("Difficulty", m_nFontID, 0, 0xff00ff00, RightX+105, RightY+140, 0, .8f);
			pBFE->RenderString("Challenge", m_nFontID, 0, 0xffffff00, RightX+105, RightY+180, 0, .8f);
			break;
		}
	}
	else if(m_nWhereIsCursor == DIFFICULT)
	{
		switch(m_nRightUDChoice)
		{
		case 0:
			pBFE->RenderString("n00b", m_nFontID, 0, 0xffffff00, RightX, RightY+60, 0);
			pBFE->RenderString("Pro", m_nFontID, 0, 0xff00ff00, RightX, RightY+100, 0);
			pBFE->RenderString("XTREME!", m_nFontID, 0, 0xff00ff00, RightX, RightY+140, 0);
			break;
		case 1:
			pBFE->RenderString("n00b", m_nFontID, 0, 0xff00ff00, RightX, RightY+60, 0);
			pBFE->RenderString("Pro", m_nFontID, 0, 0xffffff00, RightX, RightY+100, 0);
			pBFE->RenderString("XTREME!", m_nFontID, 0, 0xff00ff00, RightX, RightY+140, 0);
			break;
		case 2:
			pBFE->RenderString("n00b", m_nFontID, 0, 0xff00ff00, RightX, RightY+60, 0);
			pBFE->RenderString("Pro", m_nFontID, 0, 0xff00ff00, RightX, RightY+100, 0);
			pBFE->RenderString("XTREME!", m_nFontID, 0, 0xffffff00, RightX, RightY+140, 0);
			break;
		}
	}
}